package cn.hamster3.hamsterworld.command;

import cn.hamster3.hamsterworld.core.DataManager;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.command.TabExecutor;

import java.util.List;

public abstract class CommandBase implements TabExecutor {
    protected DataManager dataManager;

    public CommandBase(DataManager dataManager) {
        this.dataManager = dataManager;
    }

    public boolean isPlayerCommand() {
        return true;
    }

    public String getPermission() {
        return null;
    }

    @Override
    public List<String> onTabComplete(CommandSender sender, Command command, String alias, String[] args) {
        return null;
    }
}
